﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#ifdef _WINDOWS
#include "GcmpApplication.h"
#include <windows.h>
#include <string>
typedef void(*CallbackFunForMessage)(LPCWSTR message);

namespace gcmp
{
    extern bool bApplicationCreate;
    extern CallbackFunForMessage gFunForMessageBoxTip;

    void GcmpProcessPreHandle();

    HANDLE GetProcessHandle(LPCTSTR pName);

    GCMP_APPLICATION_EXPORT void  StopExitProcessHook();
}   // end namespace gcmp
#endif